package com.imooc.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.stereotype.Component;

/**
 * @Auther: zhaozeyang
 * @Date: 2018/8/18 18:09
 * @Description:
 */
@SpringBootApplication
@EnableAutoConfiguration
@Component
@EntityScan("com.imooc.*")
public class ServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceApplication.class, args);
    }


}
